FROM python:3.6-slim

WORKDIR /opt/bluetooth/
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.doubanio.com/simple/
COPY . .

EXPOSE 5001
CMD ["python", "manager.py", "runserver", "-h 0.0.0.0", "-p 5001", "-d"]

